<?php
declare (strict_types = 1);

namespace app\model;

use think\Model;

/**
 * @mixin think\Model
 */
class Logins extends Model
{
    protected $table='user';
    protected $pk='id';
    public function getOne($data){
        return self::where($data)->find();
    }
}
